//
//  PHKitTool.h
//  camera
//
//  Created by liuyi on 5/19/16.
//  Copyright © 2016 liuyi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Photos/Photos.h>

@interface PHKitTool : NSObject

+ (NSArray *)getAllImageGroup;      // 获取所有照片
+ (NSArray *)getAssetCollectionGroupWithAssetSubType:(PHAssetCollectionSubtype)type;  //根据类型获取智能分组的图片结果

+ (NSArray *)getImageGroupFromAssetCollection:(PHAssetCollection *)assetCollection; // 获取分组中的照片

+ (UIImage *)getImageWithAsset:(PHAsset *)asset Size:(CGSize)size;   // 把Asset 转换成Image

@end
